<extend name="Public/base"/>

<block name="body">
    <style>
        input[type=number] {
            -moz-appearance:textfield;
        }
        input[type=number]::-webkit-inner-spin-button,
        input[type=number]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
    </style>
  <div class="main-title">
    <h2>{$meta_title}</h2>
  </div>
  <form action="{:U('set')}" method="post" class="form-horizontal">
    <div class="form-item">
      <label class="item-label">店铺等级</label>
      <div class="controls">
        <input type="text" class="text input-large" disabled value="{$data.grade_name|default=''}">
      </div>
    </div>
    <div class="form-item">
      <label class="item-label">店铺QQ<span class="check-tips" style="color:red;">（注意：上传的QQ开通临时会话权限）</span></label>
      <div class="controls">
        <input type="number" class="text input-large" name="qq" value="{$data.qq|default=''}">
      </div>
    </div>
    <div class="form-item">
        <label class="item-label">客服热线</label>
        <div class="controls">
            <input type="text" class="text input-large" name="hot-line" value="{$data.hot-line|default=''}" style="background-color: #fff;border-color: #eee">
        </div>
    </div>
    <div class="form-item">
      <label class="item-label">店铺LOGO</label>
      <div class="controls"> {:hook('uploadImages', array('name' => 'logo', 'value' => $data['logo'],'tpl' => 'baidu/img'))}</div>
    </div>


    <!--店铺横幅和店铺介绍-->

    <div class="form-item">
      <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
      <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
    </div>
  </form>
</block>

<block name="script">
  <script type="text/javascript">
    //导航高亮
    highlight_subnav('{:U("Store/set")}');
  </script>
</block>